var oul = document.getElementById("oul").getElementsByTagName("li");
        var ool = document.getElementById("ool");
        var oli = ool.getElementsByTagName("li");
        var place = 0;

        function hide(i) {//定义banner图隐藏函数
            oul[i].style.opacity = 0;
            oul[i].style.zIndex = 1;
            oli[i].className = "";
        }

        function show(i) {//定义banner图显示函数
            oul[i].style.opacity = 1;
            oul[i].style.zIndex = 2;
            oli[i].className = "bhys";
        }
        for (var i = 0; i < oul.length; i++) {
            var li = document.createElement("li");
            ool.appendChild(li).index = i;//定义索引
            oli[i].onmouseover = function () {
                for (var i = 0; i < oul.length; i++) {
                    hide(i);//当鼠标经过时，全部隐藏。
                }
                show(this.index);//鼠标指定的焦点图显示
                place = this.index;
                place++;
            }
        }

        function move() {
            for (var i = 0; i < oul.length; i++) {
                hide(i);
            }
            if (place < oul.length) {
                show(place);
            } else {
                place = 0;
                show(place);
            }
            place++;
        }
        move();
        setInterval("move()", 5000);//每5秒轮播一次
		